Method and system for estimating frequency offsets

ABSTRACT

A method is provided for estimating a frequency offset value. This method includes: receiving a signal from the transmitting device at the receiving device, the received signal having a transmitter frequency ( 510 ); generating a local signal at the receiving device, the local signal having a starting frequency ( 520 ); comparing a received signal phase and a local signal phase to determine an adjusted error signal representing a phase difference between the received signal and the local signal ( 530 ); adjusting a current frequency of the local signal from the starting frequency to the transmitting frequency over a time period ( 540 ); integrating the adjusted error signal over the time period to generate an integrated error signal ( 550 ); and filtering the integrated error signal to generate a frequency difference estimate indicative of the frequency difference between the transmitter frequency and the starting frequency ( 560 ).

FIELD OF THE INVENTION

The present invention relates in general to wired or wireless networks in which different devices in the network operate using different clocks and need to synchronize these clocks to properly pass signals between the devices.

BACKGROUND OF THE INVENTION

In a typical wired or wireless network each device in the network will have its own clock to regulate the signals it transmits or receives. And in many networks a clock in a given device will operate independently of the clocks in each of the other devices, meaning that the phase of any given clock will be effectively random with respect to the phase of any other clock in-the network. In such a network it may be necessary, therefore, for a receiver to synchronize its clock with the clock of a transmitter before it can properly process data received from the transmitter. This process of phase synchronization is typically referred to as signal acquisition.

Ideally, each compatible device will have the same clock frequency, meaning that once the phase of the receiver clock is synchronized to the phase of the transmitter clock in an acquisition process, the receiver clock should be able to stay at this acquired phase for the remainder of the transmitted signal. However, this is generally not the case.

Although two compatible devices will ostensibly have the same clock frequency, the physical realities of circuit design will result in slight differences in clock frequencies. For example, clock crystals used for timing have a frequency tolerance in terms of parts per million (PPM) of their frequency. For example, a 10 MHz clock with a tolerance of +100 PPM would actually have a clock frequency that was between 9.999 MHz and 10.001 MHz, or a possible difference of +1 kHz. As a result, even though each device in a network may have the same model of clock crystal, these slight variations in the individual clock crystals may give each device a slightly different clock frequency.

And since a difference in frequency represents a systematical change in phase, if the transmitter clock and the receiver clock have slightly different frequencies, their clock phases will constantly drift apart, even once they are synchronized. As a result, many systems also employ a tracking process whereby after acquisition is complete, a receiver will monitor the phase of an incoming signal and periodically adjust the phase of the receiver clock to maintain its synchronization with the transmitter clock.

Of course, the greater the separation between the frequencies of the transmitter clock and the receiver clock, the more difficult this tracking process will be. Large frequency differences may increase the number of lost connections that occur when the tracking process fails and the phase of the receiver clock slips too far from the phase of the transmitter clock. Also, the receiver has implementation-dependent limitations that cap the size of the frequency difference that is tolerable. As frequency offsets approach this limit, noisy data will have a more pronounced impact on system performance. Data that would have been successfully detected with smaller frequency offsets will fail detection at larger offsets.

The tracking process would be simplified if the receiver had some information as to what the frequency difference (sometimes called the frequency offset or the frequency difference) was between the transmitter clock and the receiver clock. This information would allow the receiver to predict how the phase difference between the received signal and the local signal would change over time. And such predictability in phase change would provide for a larger allowable frequency difference between the transmitter clock and the receiver clock, while retaining the same level of system performance.

A larger allowable frequency difference between a transmitter and a receiver would allow devices to use clock crystals with a larger frequency tolerance. And since frequency tolerance and price are linked (the smaller the tolerance, the higher the price), this would allow the devices to use cheaper clock crystals, thus reducing device cost. As a result, it would be desirable to provide a method or circuit that would provide an estimate of the frequency difference between an incoming signal received from a transmitting device and a local signal generated by a receiving device.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying figures where like reference numerals refer to identical or functionally similar elements and which together with the detailed description below are incorporated in and form part of the specification, serve to further illustrate an exemplary embodiment and to explain various principles and advantages in accordance with the present invention.

FIG. 1 is a block diagram of a tracking control loop from a disclosed embodiment of the present invention;

FIG. 2 is a block diagram of a loop filter of FIG. 1, according to a disclosed embodiment of the present invention;

FIG. 3 is a diagram of the tracking control loop of FIG. 1, according to a disclosed embodiment of the present invention;

FIG. 4 is a diagram of the loop filter of FIG. 1, according to disclosed embodiments of the present invention;

FIG. 5 is a flow chart showing the estimation of the phase error according to disclosed embodiments of the present invention;

FIG. 6 is a block diagram of the functionality of a frequency estimating circuit of FIG. 1, according to a disclosed embodiment of the present invention; and

FIG. 7 is a flow chart showing the use of a stored offset frequency to facilitate the processing of an incoming signal.

DETAILED DESCRIPTION

The instant disclosure is provided to further explain in an enabling fashion the best modes of performing one or more embodiments of the present invention. The disclosure is further offered to enhance an understanding and appreciation for the inventive principles and advantages thereof, rather than to limit in any manner the invention. The invention is defined solely by the appended claims including any amendments made during the pendency of this application and all equivalents of those claims as issued.

It is further understood that the use of relational terms such as first and second, and the like, if any, are used solely to distinguish one from another entity, item, or action without necessarily requiring or implying any actual such relationship or order between such entities, items or actions. It is noted that some embodiments may include a plurality of processes or steps, which can be performed in any order, unless expressly and necessarily limited to a particular order; i.e., processes or steps that are not so limited may be performed in any order.

Much of the inventive functionality and many of the inventive principles when implemented, are best supported with or in software or integrated circuits (ICs), such as a digital signal processor and software therefore or application specific ICs. It is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed herein will be readily capable of generating such software instructions or ICs with minimal experimentation. Therefore, in the interest of brevity and minimization of any risk of obscuring the principles and concepts according to the present invention, further discussion of such software and ICs, if any, will be limited to the essentials with respect to the principles and concepts used by the exemplary embodiments.

The circuits and methods described below are applicable to any wired or wireless network in which a transmitter and a receiver operate using different clocks, which may vary in phase or frequency. One particular type of wireless network in which the methods and circuits are particularly applicable is ultrawide bandwidth (UWB) networks. However, they should not be limited to UWB networks.

Frequency Difference Estimating Circuit

As noted above, it is desirable to determine an estimate of the frequency difference between a clock in a transmitting device and a clock in a receiving device. This allows the receiving device to program its clock frequency to mimic that of the transmitter, thus improving the tracking process and allowing a greater frequency difference between the clocks of the two devices, while retaining a desired level of performance. All future communications between the two devices will benefit from the resulting smaller frequency offset.

A device that performs a tracking function will generally have a tracking control loop to perform this tracking function. The tracking control loop will process an incoming signal and a local signal after synchronization (i.e., acquisition) has taken place. It will determine the phase difference between the received signal and the local signal, and will provide a feedback signal to adjust the phase of the local signal to keep it synchronized with that of the received signal.

FIG. 1 is a block diagram of a tracking control loop from a disclosed embodiment of the present invention. As shown in FIG. 1, the tracking control loop 100 includes a receiver circuit 105, an error signal adjustment circuit 110, a loop filter 120, a loop delay element 125, an agile clock 130, a feedback amplifier 135, and a frequency estimating circuit 140, and a memory device 145. The receiver circuit 105 in this embodiment further includes a local signal generator 150 and a phase detector 155. The error signal adjustment circuit 110 in this embodiment further includes a sign detector 160 and a multiplier 165.

The receiver circuit 105 accepts the received signal r(n) and generates an on-time signal, representing the demodulated received signal, and an unadjusted error signal, representing the phase difference between a clock in the transmitter and a clock in the receiver. One way to implement this is by using a local signal generator 150 and a phase detector 155.

The local signal generator 150 generates a local signal s(n) that has a phase and frequency based on an adjusted clock signal y(n) from the agile clock 130, that is derived from a local clock signal c(n), as modified according to the operation of the tracking control loop 100. This local signal s(n) generally has known properties with respect to portions of the received signal (e.g., it may have a known signal shape for a given time period that matches a received signal shape in the received signal for a similar time period).

The received signal r(n) and the local clock c(n) have a native frequency and phase difference Φ _(T)(n) between them equal to: Φ_(T)(n)=Φ₀ +n·ΔΦ,  (1)

where Φ₀ is a constant phase difference that represents a phase offset between the received signal and the local clock, and ΔΦ is a ramping phase difference that represents the constantly-changing phase between the received signal and the local clock, and n is a digital sample index representing the sample time for the current phase difference from a set starting time.

The ramping phase difference ΔΦ can also be called the angular frequency, since a regularly-changing phase is the same as a frequency. Thus, the ramping phase difference ΔΦ is directly related to the frequency difference between the received signal and the local signal, and can be used to represent that frequency difference.

The phase detector 155 accepts the received signal r(n) and the local signal s(n), and generates an on-time signal, representing the received signal, and an unadjusted error signal, representing the phase difference between the received signal r(n) and the local signal s(n) (which unadjusted error signal also represents a phase difference between a transmitter clock and a receiver clock.). Particular circuits for performing the function of the phase detector 155 are well known in the art.

The unadjusted error signal output by the receiver circuit 105 shows the current phase difference (i.e., a phase error) between the received signal r(n) and the local signal s(n) at any given sample time n.

The error signal adjustment circuit 110 receives the on-time signal and the unadjusted error signal from the receiver circuit 105 and adjusts the unadjusted error signal so that its value does not vary according to the polarity of the on-time signal. The polarity of the on-time signal may change depending upon the modulation technique employed. For bipolar modulation, the signal will have one pattern for a digital “0” and an inverted pattern for a digital “1.” As a result, the unadjusted error signal will have its polarity flip depending upon the digital value currently carried on the on-time signal. For other modulation schemes (e.g., ternary, or other M-ary modulation) corresponding polarity changes may occur.

The adjusted error signal is set to have its polarity remain the same regardless of the bit value or values carried on the on-time signal. This allows the remainder of the tracking control loop 100 to receive an indicator of the phase error so that it can determine the proper feedback signal to reduce the phase error to zero.

In the embodiment of FIG. 1, the sign detector 160 receives the on-time signal from the receiver circuit 105 and determines its sign (i.e., whether it is positive or negative), and outputs a sign indication signal that indicates the sign of the on-time signal. For example, the sign indication signal might have a positive value if the on-time signal were positive, and might have a negative value if the on-time signal were negative.

The multiplier 165 then multiplies the unadjusted error signal by the sign indication signal to produce and adjusted error signal e(n). This adjusted error signal e(n) has the same value regardless of the data value in the received signal r(n).

In alternate embodiments the error signal adjustment circuit 110 can be implemented in different ways. For example, lead and lag terms can be computed by delaying and advancing a local oscillator relative to the phase of the local oscillator used to compute the on-time signal. The difference between the absolute values of the lead and lag terms will produce an adjusted error signal.

The loop filter 120 is provided to give the tracking control loop its desired performance. In particular, the type of loop filter 120 used and the parameters for the loop filter 120 are chosen to generate a filtered error signal that will produce feedback that will drive any phase errors or frequency differences between the received signal and the local clock that fall within the tracking range of the circuit to zero.

The loop delay element 125 represents the variety of delays that will be contained in the tracking control loop 100. As such it is not a single element, but rather reflects a number of elements in the tracking control loop 100 that delay signals passing through or otherwise limit their bandwidth. Since the loop delay element 125 may represent multiple individual elements, it also need not be located between the loop filter 120 and the agile clock 130, but can be anywhere in the tracking control loop 100.

The agile clock 130 provides an unamplified feedback signal in response to the filtered error signal (delayed by any loop delays present in the loop delay element 125). This unamplified feedback signal is amplified by the feedback amplifier 135 as an amplified feedback signal, and is provided to the receiver circuit 105 to adjust the phase of the local signal s(n) to match that of the received signal r(n).

In operation, the agile clock begins operation at a frequency determined by the local clock c(n) and a baseline offset frequency that represents an estimate of the offset between the clock in the transmitter and the local clock c(n).

In various embodiments the agile clock 130 can be implemented through the use of a digital data storage (DDS) read-only memory (ROM), and a digital-to-analog converter (DAC). In other embodiments the agile clock could be a voltage-controlled oscillator. In some embodiments the feedback amplifier 135 can be eliminated and the output of the agile clock 130 can be provided directly to the receiver circuit 105.

The frequency estimating circuit 140 uses an integrated error signal from the loop filter 120 to provide an estimate Δ{circumflex over (Φ)} of the angular frequency between the received signal and the local signal at a starting frequency (i.e., between the transmitter clock and the receiver clock, as adjusted by the baseline offset frequency). This can be as simple as sending the integrated error signal from the loop filter 120 through a properly-designed filter, or more complicated signal processing. And although Δ{circumflex over (Φ)} is an estimate of the angular frequency (i.e., the ramping phase), it is proportional to the frequency offset by a known amount and can therefore be used as an indicator of the actual frequency offset between the transmitter and the receiver.

The memory device 145 uses the frequency estimate provided by the frequency estimating circuit 140 to store an estimate for the frequency offset between the clock in the transmitter and the clock in the receiver. This frequency offset will be stored in the memory device 145 along with an identifier for the current transmitting device (e.g., a MAC address for the transmitting device). The memory device 145 can be a random access memory (RAM), a group of registers, or any suitable memory element.

The memory device 145 can provide a stored frequency offset value for a given transmitter to the agile clock 130 as a baseline offset frequency in response to a control signal from a circuit controller (not shown). Typically a media access controller (MAC) manages the different devices joining and leaving a network. As a result, the MAC would manage the associations between devices in the network, and could ultimately be responsible for generating an appropriate control signal to the memory device 145.

Although the receiver circuit 105 of FIG. 1 is shown as using the received signal r(n) to generate the on-time and unadjusted error signals, alternate embodiments could use any signal whose phase and frequency was proportional to the received signal r(n). For example, the receiver circuit 105 could process a signal that was derived from the received signal r(n).

FIG. 2 is a block diagram of a loop filter of FIG. 1, according to a disclosed embodiment of the present invention. As shown in FIG. 2, the loop filter 120 includes a proportional path 210, an integral path 220, and a first summer 230. The proportional path 210 further includes a first amplifier 240; and the integral path 220 includes a second amplifier 250, a second summer 260, and a delay element 270.

The first amplifier 240 in the proportional path 210 amplifies the error signal e(n) by a first gain K₁, to form a proportional path signal g₁(n).

The second amplifier 250 in the integral path 220 amplifies the error signal e(n) by a second gain K₂. This amplified signal is then sent to the second summer 260 and the delay element 270, which integrate the result to form an integral path signal g₂(n). This integral path signal g₂(n) corresponds to the integrated error signal of FIG. 1.

The first summer 230 then adds the proportional path signal g₁(n) and the integral path signal g₂(n) together to form the filtered error signal l(n).

As will be shown below, the integral path signal g₂(n) generated within the loop filter 120 can be used to generate an estimate Δ{circumflex over (Φ)} of the frequency difference between the received signal and the local signal.

Modeling of the Tracking Control Loop

For purposes of signal processing, the circuit of FIG. 1 can be modeled as a simple function. FIG. 3 is a diagram of the tracking control loop 100 of FIG. 1, according to a disclosed embodiment of the present invention. The tracking control loop 300 of FIG. 3 is represented in the frequency domain by performing a z-transform on each of the signals and impulse responses. As shown in FIG. 3, the tracking loop 300 includes a summer 310, a loop filter 320, and a tracking loop element 330.

In FIG. 3, φ_(R)(z) represents a signal proportional to the native (uncorrected) frequency and phase difference between the transmitter and the receiver. E(z) represents a signal proportional to the absolute phase difference between the received signal and phase-adjusted clock signal, (e.g., the z-transform of the adjusted error signal e(n)). L(z) represents the output of the loop filter (e.g., the z-transform of the filtered error signal l(n)). Y(z) represents the phase adjusted clock signal (e.g., the z-transform of the amplified/unamplified feedback signals).

The summer 310 represents the functions of the receiver circuit 105 and the error signal adjustment circuit 110. More particularly it represents a determination of the phase difference between that of the received signal r(n) (which has a phase and frequency of the transmitter clock) and that of the local signal s(n) (which has a phase and frequency of the adjusted receiver clock); an adjustment of the phase of the local signal s(n) based on the feedback from the agile clock 130; and a determination of the adjusted phase error e(n) after the feedback is provided.

The loop filter 320 represents the operation of the loop filter 120 of FIG. 1, and the loop filter transfer function F(z) represents the effect of the loop filter 120 on a signal passing through it. The parameters of the loop filter transfer function F(z) can be determined by the type of loop filter 120 used and the parameters of the elements within it. It can be determined by measurement, modeling, simulation, etc., as would be understood by one skilled in the art.

The tracking loop element 330 represents the portions of the tracking control loop circuit 100, not including the loop filter 320. This can include system delays 125, an agile clock 130, a DDS ROM, etc., (i.e., anything bandwidth limiting in the system). The tracking loop transfer function V(z) represents the effect of these elements on a signal passing through them, while the value of K_(L) represents a gain factor. The parameters of the scaled tracking loop transfer function K_(L)·V(z) are determined by the various elements used in the tracking control loop 100 and the parameters of the elements within it. It can be determined by measurement, modeling, simulation, etc., as would be understood by one skilled in the art.

FIG. 4 is a diagram of the loop filter 120 of FIG. I (i.e., the loop filter transfer function 320 of FIG. 3), according to a disclosed embodiment of the present invention. As shown in FIG. 4, the loop filter 320 includes a proportional path element 410, an integral path element 420, and a summer 430.

In FIG. 4, E(z) is the z-transform of the error signal received from the summer 310; G₁(z) represents the output of the proportional path element 410 (e.g., the z-transform of the proportional path signal g₁(n)); G₂(z) represents the output of the integral path element 420 (e.g., the z-transform of the integral path signal g₂(n)); and L(z) represents the output of the loop filter (e.g., the transfer function of the filtered error signal l(n)).

The proportional path element 410 represents the operation of the proportional path 210 of FIG. 3, and the proportional path transfer function T₁(z) represents the effect of the proportional path 210 on a signal passing through it.

The integral path element 420 represents the operation of the integral path 220 of FIG. 3, and the integral path transfer function T₂(z) represents the effect of the integral path 220 on a signal passing through it.

The summer 430 adds the proportional path signal G₁(z) to the integral path signal G₂(z) to produce the loop filter transfer function L(z).

Thus, the open loop transfer function for the tracking control loop 100 is shown in Equation (2): $\begin{matrix} {\frac{Y(z)}{\Phi_{R}(z)} = {K_{L} \cdot {V(z)} \cdot {F(z)}}} & (2) \end{matrix}$

As shown in FIG. 3, the value of the error signal E(z) can be shown as the difference between the phase and frequency difference signal φ_(R)(z) and the phase adjusted clock signal Y(z): E(z)=φ_(R)(z)−Y(z)  (3)

And the phase adjustment signal Y(z) is equal to the error signal E(z) multiplied by the loop transfer function F(z) and the scaled tracking loop transfer function K_(L)·V(Z) Y(z)=K _(L) ·V(z)·F(z)·E(z)  (4)

Combining Equations (3) and (4) shows that the error signal E(z) can be represented as: E(z)=φ_(R)(z)−K _(L) ·V(z)·F(z)·E(z),   (5) which $\begin{matrix} {\frac{E(z)}{\Phi_{R}(z)} = \frac{1}{1 + {K_{L} \cdot {V(z)} \cdot {F(z)}}}} & (6) \end{matrix}$

For the sake of simplicity, the variable K_(L)·V(z)·F(z) can be represented as a fractional number: $\begin{matrix} {{{K_{L} \cdot {V(z)} \cdot {F(z)}} = \frac{N(z)}{D(z)}},} & (7) \end{matrix}$

with N(z) representing the numerator of the equation and D(z) representing the denominator of the equation. This allows Equation (6) to simplify into: $\begin{matrix} {\frac{E(z)}{\Phi_{R}(z)} = \frac{D(z)}{{N(z)} + {D(z)}}} & (8) \end{matrix}$

The transfer function for an unscaled tracking loop transfer function V(z) can be shown as: $\begin{matrix} {{{V(z)} = {\frac{K_{V} \cdot z^{- 1}}{1 - z^{- 1}} \cdot {\Delta(z)}}},} & (9) \end{matrix}$

where K_(V) is the gain of the portion of the tracking control loop 100 that produces the corrected phase signal, and Δ(z) represents the various delays in the tracking control loop 100, and anything else that restricts the bandwidth of the tracking control loop 100.

Thus, a closed loop transfer function F(z) for the loop filter 120 can be shown as: $\begin{matrix} {{F(z)} = {\frac{\left( {K_{1} + K_{2}} \right)\left( {1 - {\frac{K_{1}}{K_{1} + K_{2}} \cdot z^{- 1}}} \right)}{1 - z^{- 1}} = \frac{L(z)}{E(z)}}} & (10) \end{matrix}$

Solving for L(z) gives us: $\begin{matrix} {{L(z)} = {\left( \frac{\left( {K_{1} + K_{2}} \right)\left( {1 - {\frac{K_{1}}{K_{1} + K_{2}} \cdot z^{- 1}}} \right)}{1 - z^{- 1}} \right) \cdot {E(z)}}} & (11) \end{matrix}$

Then, combining Equations (9) and (11) and multiplying both sides by K_(L) gives: $\begin{matrix} {{K_{L} \cdot {V(z)} \cdot {F(z)}} = \frac{K_{L}{{K_{V}\left( {K_{1} + K_{2}} \right)} \cdot z^{- 1} \cdot \left( {1 - {\frac{K_{1}}{K_{1} + K_{2}} \cdot z^{- 1}}} \right) \cdot {\Delta(z)}}}{\left( {1 - z^{- 1}} \right)^{2}}} & (12) \end{matrix}$

And so, based on Equation (7), this means that: $\begin{matrix} {{{N(z)} = {K_{L}{{K_{V}\left( {K_{1} + K_{2}} \right)} \cdot z^{- 1} \cdot \left( {1 - {\frac{K_{1}}{K_{1} + K_{2}} \cdot z^{- 1}}} \right) \cdot {\Delta(z)}}}},{and}} & (13) \\ {{D(z)} = \left( {1 - z^{- 1}} \right)^{2}} & (14) \end{matrix}$

Now, looking at FIG. 4, the output of the loop filter 120 can be written as: L(z)=G ₁(z)+G ₂₍ z),   (15)

Solving Equation (15) for G₂(z) gives: G ₂(z)=L(z)−G ₁(z)  (16)

Looking at FIG. 3, the output of the proportional path 210 can be written as: G ₁(z)=K ₁ ·E(z)  (17)

Combining Equations (8), (11), (16), and (17), and solving for $\frac{G_{2}(z)}{\Phi_{R}(z)}$ gives the following equation: $\begin{matrix} {\frac{G_{2}(z)}{\Phi_{R}(z)} = \frac{K_{2}\left( {1 - z^{- 1}} \right)}{{N(z)} + {D(z)}}} & (18) \end{matrix}$

If the transfer function P(z) is defined as: $\begin{matrix} {{{P(z)} = \frac{1}{{N(z)} + {D(z)}}},} & (19) \end{matrix}$

then Equation (18) simplifies to: $\begin{matrix} {\frac{G_{2}(z)}{\Phi_{R}(z)} = {K_{2} \cdot \left( {1 - z^{- 1}} \right) \cdot {P(z)}}} & (20) \end{matrix}$

Moving to the time (or sample) domain by inverse transform gives the following equation for g₂(n), i.e., the output of the integral path 220 of the loop filter 120: g ₂(n)=K ₂(φ_(R)(n)−φ_(R)(n−1))*p(n),   (21)

where φ_(R)(n) is the signal described above that is proportional to the uncorrected phase and frequency difference between the transmitter and the receiver for any given sample n, and p(n) is the inverse transform function of P(z).

The phase of the received signal φ_(R)(n) can be shown as a signal that is proportional to the phase of the transmitter φ_(T)(n), modified by a noise term: φ_(R)(n)+α·φ_(T)(n)+σ·η(n)  (22)

where α is a proportional scaling factor, σ is a noise constant, and η(n)is a random noise term that is normally distributed (IID) with a variance of 1, i.e.,: η(n)≈N(0,1)  (23)

Combining Equations (21) and (22) shows that: φ_(R)(n)−φ_(R)(n−1)=α·Δφ+σ·m(n),   (24)

where a new noise term m(n) is used as follows: m(n)=η(n)−η(n−1).  (25)

This allows the signal g₂(n) to be represented more simply as: g ₂(n)=K ₂(α·φ+σ·m(n))*p(n)  (26)

Now for some sample value V, the function p(n) can be considered to approximate a finite input response (FIR) filter, meaning that p(n) is non-zero for the duration from (n=0) to (n=V), but is effectively zero elsewhere, i.e., for n<0 and n>V, p(n)≈0. This allows us to represent W samples of g₂(n), with W>V, as: g ₂ =K ₂ ·P′(α·Δφ· 1 +σ· m ),  (27)

where P′ represents a convolutional matrix for p(n). An example of P′ for W=V is shown in Equation (28): $\begin{matrix} {P^{\prime} = \begin{bmatrix} {p(0)} & 0 & 0 & \cdots & 0 \\ {p(1)} & {p(0)} & 0 & \cdots & 0 \\ {p(2)} & {p(1)} & {p(0)} & \cdots & 0 \\ \cdots & \cdots & \cdots & \cdots & \cdots \\ {p(V)} & {p\left( {V - 1} \right)} & {p\left( {V - 2} \right)} & \cdots & {p(0)} \end{bmatrix}} & (28) \end{matrix}$

We know that the expected value of the random noise term η(n) is zero (since it is IID), which means that the expected value of the new noise term m(n) is also zero, as shown in Equation (33): E{m(n)}=E{η(n)}−E{η(n−1)}=0−0=0  (29)

We further know that the expected value of m· m ^(T) can be shown as: $\begin{matrix} {{{E\left\{ {\overset{\_}{m} \cdot {\overset{\_}{m}}^{T}} \right\}} = {C = \begin{bmatrix} 2 & {- 1} & 0 & \cdots & 0 & 0 \\ {- 1} & 2 & {- 1} & \cdots & 0 & 0 \\ 0 & {- 1} & 2 & \cdots & 0 & 0 \\ \cdots & \cdots & \cdots & \cdots & \cdots & \cdots \\ 0 & 0 & 0 & \cdots & 2 & {- 1} \\ 0 & 0 & 0 & \cdots & {- 1} & 2 \end{bmatrix}}},} & (30) \end{matrix}$

which for the sake of simplicity can be referred to as C, the noise covariance matrix of m.

If we further define the following matrices: P′· 1= a, and  (31) P′· m= s,  (32)

then Equation (27) simplifies to: g ₂ =αK ₂ · a·Δφ+σ·K ₂ · s   (33)

Estimation of Phase Error

Equation (33) shows a linear system of equations with one unknown, i.e., the ramping phase error Δφ between the received signal and the starting frequency of the local clock, and a vector of observations g ₂ of the integral path 220 in the loop filter 120. It is therefore possible to determine a value for the phase error Δφ based on the observed output signal g ₂. And since the frequency difference between the transmitter and the receiver is directly related to the ramping phase error Δφ, this value can be used to determine the frequency difference.

FIG. 5 is a flow chart showing the estimation of the phase error according to disclosed embodiments of the present invention. As shown in FIG. 5, the estimation process 400 begins when the local device receives an incoming signal. (510) and generates a local signal based on a local clock. (520)

The device then compares the local signal and the received signal to determine an adjusted base error signal that is indicative of the phase difference between the local signal and the received signal. (530) As shown in FIG. 1, one way to generate an adjusted error signal is to first generate an on-time signal and an unadjusted error signal, to then determine the sign of the on-time signal, and finally multiply the unadjusted error signal by the sign of the on-time signal. However, alternate implementations are possible as would be understood by one skilled in the art.

Over time, the device adjusts a current frequency of the local signal (i.e. an agile clock frequency) from the starting frequency to the transmitting frequency. (540) This can be done by the operation of the tracking control loop 100.

Once the frequency of the local signal is stable (i.e., the tracking control loop 100 has reached a point at which its agile clock's frequency is no longer substantially changing), the local device then integrates the adjusted error signal to generate an integrated error signal. (550) As shown in FIGS. 1 and 2, this can be accomplished by passing the adjusted error signal through a loop filter 120 and in a portion of that loop filter 120 amplifying and integrating the adjusted error signal to generate an integrated signal. However, alternate loop filter designs and other elements within the tracking control loop 100 that integrate the adjusted error signal could be used in alternate embodiments.

The local device then performs signal processing on the integrated signal to determine a frequency difference between the received signal and the local signal (i.e., the frequency difference between a clock in the transmitting device and a clock in the local device). (560) Any appropriate signal processing can be used to estimate the values from Equation (33). Exemplary signal processing techniques include: weighted least squares, least squares, averaging, leaky integration, or the like.

The local device can then use this frequency estimate to preset a frequency offset in its local clock when it receives more signals from the transmitting device. This will improve system performance and allow for a less accurate clock crystals.

General Method of Estimation

A general way to process an integrated signal to estimate the frequency difference (i.e., frequency error) between the received signal and the local clock is to pass the integrated signal through a filter that calculates some kind of weighted sum, and then multiply that weighted sum by a scaling factor to account for circuit parameters.

Taking Equation (33), general equation for an estimation of the ramping phase difference Δ{circumflex over (φ)}between the transmitter clock and the receiver clock: $\begin{matrix} {{\Delta{\hat{\phi}}_{G}} = {\frac{1}{\alpha \cdot K_{2}} \cdot \left( \frac{1}{{\overset{\_}{x}}^{T} \cdot \overset{\_}{a}} \right) \cdot {\overset{\_}{x}}^{T} \cdot {\overset{\_}{g}}_{2}}} & (34) \end{matrix}$

where x ^(T) is an array that provides a weighting sum when multiplied by the array of integrated signal samples g ₂, and x ^(T·)· g ₂ is the resulting weighted sum of the observation.

If the values M and β defined as: $\begin{matrix} {{M = \frac{1}{\alpha \cdot K_{2}}},{and}} & (35) \\ {{\beta = {{\overset{\_}{x}}^{T} \cdot \overset{\_}{a}}},} & (36) \end{matrix}$

then Equation (34) can be simplified as: $\begin{matrix} {{\Delta{\hat{\phi}}_{G}} = {\frac{M}{\beta} \cdot {\overset{\_}{x}}^{T} \cdot {\overset{\_}{g}}_{2}}} & (37) \end{matrix}$

In other words, if the sample size is W, $\begin{matrix} {{{\overset{\_}{g}}_{2} = \begin{bmatrix} {g_{2}(0)} \\ {g_{2}(1)} \\ \cdots \\ {g_{2}(W)} \end{bmatrix}},} & (38) \\ {{{\overset{\_}{x}}^{T} = \begin{bmatrix} {x(0)} & {x(1)} & \cdots & {x(W)} \end{bmatrix}},} & (39) \end{matrix}$

meaning that x ^(T)· g ₂ is just the sum of the products of corresponding values of x(n) and g₂(n), and Δ{circumflex over (φ)}_(G) is just that sum weighted by the value $\frac{M}{\beta}.$

Combining Equations (24), (35), (36), and (37) shows that: $\begin{matrix} {{\Delta{\hat{\phi}}_{G}} = {{\Delta\phi} + {\frac{\sigma}{\alpha \cdot \beta} \cdot {\left( {{\overset{\_}{x}}^{T} \cdot \overset{\_}{s}} \right).}}}} & (40) \end{matrix}$

This means that the expected value of Δ{circumflex over (φ)}_(G) is: $\begin{matrix} {{E\left\{ {\Delta{\hat{\phi}}_{G}} \right\}} = {{E\left\{ {\Delta\phi} \right\}} + {E\left\{ {\frac{\sigma}{\alpha \cdot \beta} \cdot \left( {{\overset{\_}{x}}^{T} \cdot \overset{\_}{s}} \right)} \right\}}}} & (41) \end{matrix}$

And so, using Equations (29) and (41), it is possible to show that: E{Δ{circumflex over (φ)}_(G) }=E{Δφ}+0=Δφ  (42)

Thus, a general filtered estimate of the ramping phase Δ{circumflex over (φ)}_(G), as determined by Equation (40), provides an unbiased estimate for the actual ramping phase Δφ.

FIG. 6 is a general block diagram of the functioning of a frequency estimating circuit of FIG. 1, according to a disclosed embodiment of the present invention, which embodiment can be used to calculate a ramping phase estimate Δ{circumflex over (φ)}_(G). As shown in FIG. 6, this estimate can be achieved by having the frequency estimating circuit 180 include a first mixer 610, a weighting function generator 620, a second mixer 630, a normalizing element 640, an integrator 650, a third mixer 660, and a weighting element 670.

The first mixer 610 mixes samples of the integral path signal g₂(n) from the loop filter 120 with a weighting function x(n) to create a series of weighted signals.

The weighting function generator 620 generates the proper signals for the weighting function x(n) in response to control signals (e.g., timing signals). The weighting function generator 620 could be a memory device that stores the proper weighting values, or a circuit that generates them at need. The weighting values, or the function for generating the weighting values, are determined by the kind of weighted sum that is desired (e.g., weighted least squares, least squares, averaging, leaky integrator, etc.).

They are derived either by measurement or modeling of the receiver system in a manner that would be understood to one skilled in the art based on Equation (40). These weighting values would only have to be determined once for any given receiver and estimator design, since they will not change.

The integrator 650 integrates the values of the normalized weighted sum from the second mixer 640 from the first sample until the W^(th) sample. In one embodiment the integrator 650 can be a simple accumulator with a summer and a delay, though alternate integrator implementations could also be used.

Although FIG. 6 shows the functioning of the frequency estimating circuit 180 in a mathematical sense, the frequency estimating circuit 180 could actually be implemented by a filter that performs the functions shown in FIG. 6, or at least approximates those functions.

Exemplary embodiments will be given below. In each of these embodiments, a different sort of filter, or weighted sum, will be provided. In other words, the weighting function x(n) (and thus the weighting sum array x ^(T)), along with the normalizing factor β will be specifically defined, and an appropriate filter will be chosen that emulates the circuit of FIG. 6 for this weighting function and normalizing factor.

Weighted Least Squares Estimation

One way to process an integrated signal to estimate the frequency difference between the received signal and the local clock is to use a weighted least squares estimate. This method provides a maximum likelihood estimate of the frequency difference. A weighted least squares estimate can be implemented using a finite impulse response (FIR) filter. However, the solution can be approximated by an infinite impulse response (IIR) filter that requires fewer taps.

For a weighted least squares estimate, the noise covariance matrix Γ of P′· m of Equation (27) is defined as: Γ=P′·C·P′ ^(T),  (43)

and the element x ^(T) is defined as: x ^(T) = a ^(T)·Γ⁻¹,  (44)

with the general term β being replaced by ω, for the particular value of x ^(T) shown in Equation (36), i.e.: ω=( a ^(T)·Γ⁻¹)· a.  (45)

In an embodiment in which (W>N), and so Γ is singular, the pseudo-inverse of Γ could be used in Equation (45) rather than the simple inverse.

The values used to replace x ^(T) and β define a weighted least squares operation, and can be used to define the parameters of an FIR filter. These variables can also be used in Equation (40) to mathematically determine the weighted least squares estimate for the ramping phase Δ{circumflex over (φ)}_(WLS) as: $\begin{matrix} {{\Delta{\hat{\phi}}_{WLS}} = {\frac{M}{\omega} \cdot {\overset{\_}{a}}^{T} \cdot \Gamma^{- 1} \cdot {{\overset{\_}{g}}_{2}.}}} & (46) \end{matrix}$

Equation (46) can then be used to determine the value of the weighted least squares estimate of the ramping phase Δ{circumflex over (φ)}_(WLS), which can in turn be used to calculate the frequency difference between the received signal and the local clock. The term g ₂ is a measured value, and all of the other terms in this equation can be determined through measurement, modeling, or simulation of the tracking control loop 100.

Since Equation (46) is the same as Equation (40), except with the variables further defined, the weighted least squares estimate of the ramping phase Δ{circumflex over (φ)}_(WLS) will provide an unbiased estimate for the actual ramping phase Δ{circumflex over (φ)}, as shown in Equation (42).

The weighted least squares embodiment of the frequency estimating circuit 180 provides for a maximum-likelihood estimate that allows a desired variance of the weighted least squares ramping phase estimate Δ{circumflex over (φ)}_(WLS) to be achieved with the lowest sample length W (i.e., the lowest length of the array x ^(T)). In other words, for a given sample length W, the weighted least squares ramping phase estimate Δ{circumflex over (φ)}_(WLS) will have the lowest possible variance.

Least Squares Estimation

Another way to use the output signal g₂(n) of the integral path 220 in the loop filter 120 to estimate the phase error Δφ between the received signal and the local clock is to use a least squares estimate. A least squares estimate can be implemented using a FIR filter. However, the solution can be approximated by an infinite impulse response (IIR) filter that requires fewer taps.

If the element x ^(T) is defined as: x ^(T)= a ^(T),  (47)

with the general term β being replaced by ρ, for the particular value of x ^(T) shown in Equation (36), i.e.: ρ= a ^(T) · a .  (48)

The values used to replace x ^(T) and β define a least squares operation, and can be used to define the parameters of an FIR filter. These variables can also be used in Equation (40) to mathematically determine the least squares estimate for the ramping phase Δ{circumflex over (φ)}_(LS) as: $\begin{matrix} {{\Delta{\hat{\phi}}_{LS}} = {\frac{M}{\rho} \cdot {\overset{\_}{a}}^{T} \cdot {{\overset{\_}{g}}_{2}.}}} & (49) \end{matrix}$

The least squares estimate of the ramping phase Δ{circumflex over (φ)}_(LS) can in turn be used to calculate the frequency difference between the received signal and the local clock. The term g ₂ is a measured value, and all of the other terms in this equation can be determined through measurement, modeling, or simulation of the tracking control loop 100.

Since Equation (49) is the same as Equation (40), except with the variables further defined, the least squares estimate of the ramping phase Δ{circumflex over (φ)}_(LS) will provide an unbiased estimate for the actual ramping phase Δφ, as shown with through Equation (42).

As compared with the weighted least squares embodiment of the frequency estimating circuit 180, the least squares embodiment allows a desired variance of the ramping phase estimate to be achieved with a higher sample length W. This is because the noise term in Equation (49) has a higher variance than the noise term in Equation (46). However, the process of determining the weighting function is considerably simplified.

Averaging Estimation

Another way to use the output signal g₂(n) of the integral path 220 in the loop filter 120 to estimate the phase error Δφ between the received signal and the local clock is to use an averaging estimate. An averaging estimate can be implemented using an averaging filter.

If element x ^(T) is defined as: x= 1 ^(T),  (50)

with the general term β being replaced by ψ for the particular value of x ^(T) shown in Equation (36), i.e.: ψ= 1 ^(T) · a.  (51)

The values used to replace x ^(T) and β define an averaging operation, and can be used to define the parameters of an averaging filter. These variables can also be used in Equation (40) to mathematically determine an averaging estimate for the ramping phase Δ{circumflex over (φ)}_(A) as being: $\begin{matrix} {{\Delta{\hat{\phi}}_{A}} = {\frac{M}{\psi} \cdot {\overset{\_}{1}}^{T} \cdot {{\overset{\_}{g}}_{2}.}}} & (52) \end{matrix}$

The averaging estimate of the ramping phase Δ{circumflex over (φ)}_(A) can in turn be used to calculate the frequency difference between the received signal and the local clock. The term g₂ is a measured value, and all of the other terms in this equation can be determined through measurement, modeling, or simulation of the tracking control loop 100.

Since Equation (52) is the same as Equation (40), except with the variables further defined, the weighted least squares estimate of the ramping phase Δ{circumflex over (φ)}_(A) will provide an unbiased estimate for the actual ramping phase Δφ,as shown with through Equation (42).

An averaging estimate is relatively easy to implement, since the normalizing value ψ is just the sum of all of the elements in the array a, and the weighting function x(n) involves multiplying the input term g₂(n) by 1 (i.e., doing nothing to it). However, it has a higher variance than either a weighted least squares approach or a least squares approach, so it requires a larger samples size W to achieve a desired level of accuracy. It also may require the frequency estimating circuit 180 to maintain a large running sum in its accumulator 550 as W increases in size.

Leaky Integrator Estimation

Another way to use the output signal g₂(n) of the integral path 220 in the loop filter 120 to estimate the phase error Δφ between the received signal and the local clock is to use a leaky integration estimate. A leaky integration estimate can be implemented using a leaky integrator filter.

If element x ^(T) is defined as: x ^(T) = h ^(T),  (53)

with the general term β being replaced by λ for the particular value of x ^(T) shown in Equation (36), i.e.: λ= h ^(T) · a   (54)

The values used to replace x ^(T) and β define a leaky integration operation, and can be used to define the parameters of a leaky integrator filter. These variables can also be used in Equation (40) to mathematically determine a leaky integration estimate for the ramping phase Δ{circumflex over (φ)}_(Li) as being: $\begin{matrix} {{\Delta{\hat{\phi}}_{LI}} = {\frac{M}{\lambda} \cdot {\overset{\_}{h}}^{T} \cdot {{\overset{\_}{g}}_{2}.}}} & (55) \end{matrix}$

The function h(n), which defines the array h, is the function associated with a leaky integrator filter. An output t(n) of the leaky integrator filter can be defined as: t(n)=μ·g ₂(n)+(1−μ)·t(n−1),  (56)

Where μ is a scaling factor such that 0<μ<1, and g₂(n) is the input signal to the leaky integrator.

The transfer function of the leaky integration function h(n) is therefore: $\begin{matrix} {{H(z)} = {\frac{T(z)}{G_{2}(z)} = \frac{\mu}{1 - {\left( {1 - \mu} \right)z^{- 1}}}}} & (57) \end{matrix}$

This means that the function h(n) can be determined by: h(n)=μ·(1−μ)^(n) ·U(n)  (58)

where U(n) is unit step function.

The value of t(n) at the end of W samples can therefore be used in place of the value h ^(T)· g ₂ in Equation (55) such that: $\begin{matrix} {{\Delta{\hat{\phi}}_{LI}} = {\frac{M}{\lambda} \cdot {t(W)}}} & (59) \end{matrix}$

The leaky integration estimate of the ramping phase Δ{circumflex over (φ)}_(Li) can in turn be used to calculate the frequency difference between the received signal and the local clock. The term g ₂ is a measured value, and all of the other terms in this equation can be determined through measurement, modeling, or simulation of the tracking control loop 100.

Since Equation (55) is the same as Equation (40), except with the variables further defined, the weighted least squares estimate of the ramping phase Δ{circumflex over (φ)}_(Li) will provide an unbiased estimate for the actual ramping phase Δφ, as shown with through Equation (42).

The output of a leaky integrator filter has a higher variance than the filters used for a weighted least squares estimate, a least squares estimate, or an averaging estimate, thus requiring a larger value of W. However, it is relatively cheap and easy to implement.

Use of a Stored Frequency Offset

The ramping phase estimate Δ{circumflex over (φ)}, however it is determined, can be used by a local agile clock to improve data reception for future data streams from the same device. FIG. 7 is a flow chart showing the use of a stored offset frequency to facilitate the processing of an incoming signal.

As shown in FIG. 7, upon being allocated a channel time for receiving a signal, a receiving device will determine the identity of the designated transmitter. (710) This can be done in some embodiments by reading this information from channel time allocation data provided by a network coordinator.

The receiving device then determines whether it has a frequency offset value stored in a memory device associated with the designated transmitter. (720) By way of example, this frequency offset value could be one previously determined after reception of an earlier signal from the designated transmitter, or could have been received from another device.

For example, suppose a first device synchronizes to a second device and determines a first frequency offset between the first device and the second device. At a different time the first device synchronizes to a third device and determines a second frequency offset between the first device and the third device. The first device can then determine a pair of third frequency offsets between the second device and the third device based on the first and second frequency offsets. These offsets will be the same in magnitude but opposite in sign for the second and third devices. The first device could then send respective third frequency offsets to the second and third devices to use as stored frequency offsets.

If the receiving device determines that there is no offset value stored for the designated transmitter (720), the receiving device sets a baseline offset frequency in its agile clock to a default offset value. In some embodiments this can be accomplished simply by creating a new entry in a database for the designated transmitter, using the default offset value as a stored offset value. (730) The default offset value can be zero or any other desirable value.

If the receiving device determines that there is an offset value stored for the designated transmitter (720), the receiving device reads the stored offset value associated with the designated transmitter (740) and sets a baseline offset frequency in its agile clock to a default offset value. (750)

In alternate embodiments, a baseline offset frequency can be stored in memory for all devices. In this embodiment no actual determination need be made regarding whether an offset value is stored for the designated transmitter.

Once the receiving device's agile clock has its baseline offset frequency set, the receiver can receive a signal from the designated transmitter. (760) The receiving device generates a local signal based on the agile clock signal to demodulate the incoming signal, the tracking control loop in the receiver ultimately drives the frequency of the agile clock to the frequency of the received signal.

Once a sufficient period of time has elapsed for the tracking loop to have converged the agile clock's frequency to that of the received signal, the receiving device can determine a new offset frequency that indicates a difference between the baseline offset frequency for the current data stream and the frequency of the received signal. (770) This determination can be performed as described above with respect to FIGS. 1 to 6.

The receiving device then uses this new offset frequency to determine a revised offset frequency for the designated transmitter and update the stored offset frequency based on this new offset frequency. (780) If this is the first time a signal has been received by the receiving device, this determination of a new offset frequency can be performed simply by storing the new frequency estimate in memory. If a previous offset frequency has been stored, it can be updated based on the current frequency estimate (e.g., by adding the stored offset frequency and the current frequency estimate).

Conclusion

This disclosure is intended to explain how to fashion and use various embodiments in accordance with the invention rather than to limit the true, intended, and fair scope and spirit thereof. The foregoing description is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications or variations are possible in light of the above teachings. The embodiment(s) was chosen and described to provide the best illustration of the principles of the invention and its practical application, and to enable one of ordinary skill in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. All such modifications and variations are within the scope of the invention as determined by the appended claims, as may be amended during the pendency of this application for patent, and all equivalents thereof, when interpreted in accordance with the breadth to which they are fairly, legally, and equitably entitled. The various circuits described above can be implemented in discrete circuits or integrated circuits, as desired by implementation. 

1. A method for estimating a frequency difference between a transmitter clock in a transmitting device and a receiver clock in a receiving device, comprising: receiving a signal from the transmitting device at the receiving device, the received signal having a transmitter frequency; generating a local signal at the receiving device, the local signal having a starting frequency; comparing a received signal phase and a local signal phase to determine an adjusted error signal representing a phase difference between the received signal and the local signal; adjusting a current frequency of the local signal from the starting frequency to the transmitting frequency over a time period; integrating the adjusted error signal over the time period to generate an integrated error signal; filtering the integrated error signal to generate a frequency difference estimate indicative of the frequency difference between the transmitter frequency and the starting frequency.
 2. A method for estimating a frequency difference, as recited in claim 1, further comprising storing the frequency difference estimate in a memory device.
 3. A method for estimating a frequency difference, as recited in claim 1, further comprising updating a stored frequency offset value in a memory device based on the frequency difference estimate.
 4. A method for estimating a frequency difference, as recited in claim 1, wherein the integrated error signal is determined at an intermediate port in a proportional-integral filter.
 5. A method for estimating a frequency difference, as recited in claim 1, wherein the filtering of the integrated error signal further comprises one of: performing a leaky integration operation on the integrated error signal, performing an averaging operation on the integrated error signal, performing a least squares operation on the integrated error signal, and performing a weighted least squares operation on the integrated error signal.
 6. A method for estimating a frequency difference, as recited in claim 1, wherein the method is performed in an ultrawide bandwidth receiver.
 7. A method for estimating a frequency difference, as recited in claim 1, wherein the method is implemented in an integrated circuit.
 8. A circuit for determining a frequency offset, comprising: a local signal generator configured to generate a local signal having a variable frequency, the variable frequency varying from a starting frequency to a transmitter frequency; a phase detector configured to receive a signal from the transmitting device, and receive the local signal, and generate an adjusted error signal representing a phase difference between the received signal and the local signal, the received signal from the transmitting device having the transmitter frequency; a tracking loop filter configured to integrate the adjusted error signal to generate an integrated error signal; a frequency-estimating circuit configured to filter the integrated error signal to generate a frequency difference estimate indicative of the frequency difference between the transmitter frequency and the starting frequency.
 9. A circuit for determining a frequency offset, as recited in claim 8, wherein the tracking loop filter is further configured to provide a filtered error signal that drives the variable frequency of the local signal from the starting frequency to the transmitter frequency.
 10. A circuit for determining a frequency offset, as recited in claim 8, further comprising a memory device for storing an offset value for the transmitter derived from the frequency difference estimate.
 11. A circuit for determining a frequency offset, as recited in claim 8, wherein the frequency estimating circuit further comprises one of: an infinite-impulse response filter and a finite-impulse response filter.
 12. A circuit for determining a frequency offset, as recited in claim 8, wherein the frequency estimating circuit further comprises one of a leaky integrator filter, an averaging filter, a least squares filter, and a weighted least squares filter.
 13. A circuit for determining a frequency offset, as recited in claim 8, further comprising: an agile clock for generating an agile clock signal based on a receiver clock signal and a frequency offset value, and wherein the local signal is generated in response to the agile clock signal.
 14. A circuit for determining a frequency offset, as recited in claim 8, wherein the circuit is part of an ultrawide bandwidth receiver.
 15. A method for synchronizing a receiver to a designated transmitter, comprising: identifying the designated transmitter from among a plurality of possible transmitters; determining a baseline offset frequency for the designated transmitter; providing the baseline offset frequency to an agile clock in the receiver; generating an agile clock signal at the agile clock in response to the baseline offset frequency; receiving an incoming signal at the receiver from the designated transmitter; determining an updated offset frequency value based on the incoming signal and the baseline offset frequency; storing the updated offset frequency value for the designated transmitter in a memory device.
 16. A method for synchronizing a receiver to a designated transmitter, as recited in claim 15, wherein the baseline offset frequency is determined in response to a control signal from a media access controller.
 17. A method for synchronizing a receiver to a designated transmitter, as recited in claim 15, wherein the determining of the baseline offset frequency includes: setting the baseline offset frequency to a default value if no signals have previously been received from the designated transmitter, and setting the baseline offset frequency to a previously-stored value if a signal has previously been received from the designated transmitter.
 18. A method for synchronizing a receiver to a designated transmitter, as recited in claim 15, wherein the baseline offset value is received from a third device.
 19. A method for synchronizing a receiver to a designated transmitter, as recited in claim 15, wherein the determining of the updated offset frequency value comprises: comparing a received signal phase and an agile clock signal phase to determine an adjusted error signal representing a phase difference between the received signal and the agile clock signal; adjusting an agile clock frequency of the agile clock signal from a starting frequency to a transmitting frequency over a set time period; integrating the adjusted error signal over the set time period to generate an integrated error signal; filtering the integrated error signal to generate a frequency difference estimate indicative of the frequency difference between the transmitter frequency and the starting frequency.
 20. A method for synchronizing a receiver to a designated transmitter, as recited in claim 19, wherein the filtering of the integrated error signal further comprises one of: performing a leaky integration operation on the integrated error signal, performing an averaging operation on the integrated error signal, performing a least squares operation on the integrated error signal, and performing a weighted least squares operation on the integrated error signal. 